<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@ page session="false"%>

<H2>内部错误</H2>
请将下面的提示信息反馈给你的系统管理员:<br>
<P>
<BR>
<A href="javascript:history.go(-1)">返回</A>
<P>
<%
try {
	// The Servlet spec guarantees this attribute will be available
	Exception exception = (Exception) request.getAttribute("javax.servlet.error.exception");

	if (exception != null) {
		if (exception instanceof ServletException) {
			// It's a ServletException: we should extract the root cause
			ServletException sex = (ServletException) exception;
			Throwable rootCause = sex.getRootCause();
			if (rootCause == null)
				rootCause = sex;

			out.println("** Root cause is: "+ rootCause.getMessage());
			rootCause.printStackTrace(new java.io.PrintWriter(out));
		}
		else {
			// It's not a ServletException, so we'll just show it
			exception.printStackTrace(new java.io.PrintWriter(out));
		}
	}
	else  {
    	out.println("No error information available");
	}
} catch (Exception ex) {
	ex.printStackTrace(new java.io.PrintWriter(out));
}
%>




